package com.swordliu.facebook.dao;

import com.swordliu.facebook.dao.base.BaseMapper;
import com.swordliu.facebook.pojo.entity.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface UserMapper extends BaseMapper<User> {

    User selectUserByUsernameAndPassword(String username) throws Exception;

    List<User> selectUsers() throws Exception;
}